package com.han.core.domain.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

@Data
public class QueryProductPageDTO extends BasePage {
    /**
     * 商品id
     */
    private Long productId;
    /**
     * 商品名字
     */
    private String productName;
    /**
     * 商品状态
     */
    private Integer productStatus;

    @JsonIgnore
    private Long shopId;
    @JsonIgnore
    private Integer start;
    @JsonIgnore
    private Integer end;

    public QueryProductPageDTO(){
        this.setPage(1);
        this.setSize(10);
        this.setProductStatus(101);
    }
}
